package com.ziytek.web.citizen.event;


import com.ziytek.web.citizen.model.bean.CommandIssuedSuccess;
import lombok.Data;

import java.util.List;

/**
 * 指令下发成功后,判断第一帧上送数据事件
 *
 * @author fenghx
 */
@Data
public class CommandFirstDataEvent {
    private CommandIssuedSuccess commandIssued;
    /**
     * 机柜号
     */
    private Integer cabinetNo;
    /**
     * 恒流板位号
     */
    private List<Integer> boardAddress;
    /**
     * 恒流板电芯编号 取值1-8
     */
    private List<Integer> cells;

    public CommandFirstDataEvent(CommandIssuedSuccess commandIssued, Integer cabinetNo, List<Integer> boardAddress, List<Integer> cells) {
        this.cells = cells;
        this.cabinetNo = cabinetNo;
        this.boardAddress = boardAddress;
        this.commandIssued = commandIssued;
    }
}
